import {useSearchParams} from 'react-router-dom'
function Student(){
    // const location=useLocation();
    // console.log(location.state.id);
    const [params]=useSearchParams();
    console.log(params.get("id"));
    console.log(params.get("type"));
    return(
        <div>student</div>
    )
}
export default Student;